uuid5Of

fun uuid5Of(namespace: Uuid, name: String): Uuid

Constructs a "Name-Based" version 5 UUID.

Version 5 UUIDs are created by combining a name and a namespace using the SHA-1 hash function.

Return

New version 5 UUID.

Parameters

namespace

for the "Name-Based" UUID

name

withing the namespace for the "Name-Based" UUID

See also